﻿namespace WH.Contracts.Systems.OperationLog
{
    public class OperationLogOutputDto
    {
        /// <summary>
        ///  
        ///</summary>
        public string Id { get; set; } = null!;
        /// <summary>
        ///  
        ///</summary>
        public string? OrganizationId { get; set; }
        /// <summary>
        ///  
        ///</summary>
        public string? CreatedBy { get; set; }
        /// <summary>
        ///  
        ///</summary>
        public DateTime? CreatedTime { get; set; }
        /// <summary>
        /// 目标ip 
        ///</summary>
        public string? IpAddress { get; set; }
        /// <summary>
        /// 请求方法 
        ///</summary>
        public string? Method { get; set; }
        /// <summary>
        /// 描述 
        ///</summary>
        public string? Describe { get; set; }
        /// <summary>
        /// 操作类型 
        ///</summary>
        public string? OperateType { get; set; }
        /// <summary>
        /// 操作者id 
        ///</summary>
        public string? OperatorId { get; set; }
        /// <summary>
        /// 是否成功 
        ///</summary>
        public bool? IsSuccess { get; set; }

        /// <summary>
        /// 是否成功 
        ///</summary>
        public int? StatusCode { get; set; }

        /// <summary>
        /// 请求参数 
        ///</summary>
        public string? RequestObject { get; set; }
        /// <summary>
        /// 返回参数 
        ///</summary>
        public string? ResponseObject { get; set; }
        /// <summary>
        /// 请求路径 
        ///</summary>
        public string? RequestUrl { get; set; }
        /// <summary>
        /// 目标平台 
        ///</summary>
        public string? Platform { get; set; }

        /// <summary>
        /// 响应时间 
        ///</summary>
        public long? Stopwatch { get; set; }

        /// <summary>
        /// 操作账号
        /// </summary>
        public string? UserAccount { get; set; }
    }
}
